import { EmployeeInfosManage } from './../../services/employeesInfoManage';
import { employeesService } from './../../services/employee';
import { Component } from '@angular/core';

@Component({
    template: `
        <div class="setup-container" fxLayout="row" fxFlex="100%">
            <div class="setup-list noshrink" fxLayout="column">
                <ul fxLayout="column" fxFlex="100%">
                    <li routerLink="/employeeSetup/deliver" routerLinkActive="active" (click)="updateEmployees()">当班员工设置</li>
                    <li routerLink="/employeeSetup/deliverTurn" routerLinkActive="active" (click)="updateEmployees()">员工班次设置</li>     
                    <li routerLink="/employeeSetup/bracelet" routerLinkActive="active" (click)="updateEmployees()">手环设置</li>                   
                </ul>
                <!--<div class="shutdown">关机退出</div>-->
            </div>
            <router-outlet></router-outlet>
        </div>
    `,
    styleUrls: ['./setup.scss']
})
export class EmployeeSetupPage {
    async updateEmployees() {
        const employees = await employeesService.getDishesDistributor();
    }
}
